import React from 'react';
import {
  CompanySettings,
} from '../containers/system'
import { connect } from 'react-redux'
import { bindActionCreators } from 'redux'
import * as systemAction from '../actions/system.action'
import { fileUpload } from '../actions/file.action'
import { downloadProfile, uploadProfile, createDocument } from '../actions/onboarding.hr.action'
import { updateAvatar } from '../actions/app.action'

@connect(null, dispatch => ({actions: bindActionCreators({...systemAction, fileUpload, createDocument, updateAvatar, uploadProfile, downloadProfile }, dispatch)}))
class NormalSettings extends React.Component {
    constructor(props) {
        super(props);
        this.displayName = 'NormalSettings';
    }
    render() {
        return <CompanySettings {...this.props.actions} />;
    }
}

export default NormalSettings;
